<?php
$code = $_GET['code'];
$state = $_GET['state'];
$s = substr($state, 4);
if($s==0){
	$url = "/index.php?m=User&a=register&code=$code&state=$state";
}else{
	$url = "/index.php?m=User&a=forgetpass&code=$code&state=$state";
}
header("location:$url");
?>